home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / fretext1.sit / Free Text Help_Services v1.01 / card_13689.txt < prev    next >
Text File  |  1990-04-13  |  895b  |  26 lines

  1. -- card: 13689 from stack: in.01
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3166
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  * function to find a chosen string in the index key file (just do a
  11.  * binary search to locate it):
  12.  *
  13.  *  ("LOCATE", targetString, keyFileRefNum)
  14.  *  --  returns wordNum for the targetString if it is found in the
  15.  *      key file; otherwise returns wordNum for the word alphabetically
  16.  *      preceding targetString followed by "{targetString not found!}"
  17.  *      on the second line of the answer...
  18.  *
  19.  * function to create a new subset:
  20.  *
  21.  *  ("NEWSUBSET", textFileRefNum)
  22.  *  --  returns subsetHandle for a new subset that it creates, big
  23.  *      enough to do subset browsing -- but does NOT initialize that
  24.  *      subset or check to see whether another subset already
  25.  *      exists.  Beeps and gives error msg if it fails...
  26.  *